﻿using System;
using RayDen.Library.Entity.Interface;

namespace RayDen.Library.Data {
    public class RenderStats : IRendererStatistics {

        public string integratorName;


        public long totalRays, intersections;
        public long totalSamples;
        public TimeSpan elapsed;


        #region IRendererStatistics Members

        public long TotalRays {
            get { return totalRays; }
        }

        public long TotalSamples {
            get { return totalSamples; }
        }

        public TimeSpan Elapsed {
            get { return elapsed; }
        }

        public string[] Parameters {
            get { return new[] { integratorName, string.Format(" Intersections : {0}", this.intersections) }; }
        }


        #endregion
    }
}